package com.zhang.third.utils;

import java.sql.Timestamp;

/**
 * @title:
 * @author: zhang
 * @date: 2022/2/12 13:14
 */
public class ReceiptEvent {
    public String payId; //支付id
    public String payType; //支付方式
    public Long ts;

    public ReceiptEvent(String txId, String payType, Long ts) {
        this.payId = txId;
        this.payType = payType;
        this.ts = ts;
    }

    public ReceiptEvent() {
    }

    @Override
    public String toString() {
        return "ReceiptEvent{" +
                "payId='" + payId + '\'' +
                ", payType='" + payType + '\'' +
                ", ts=" + new Timestamp(ts) +
                '}';
    }
}
